package com.winit.method.model;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

public class Method {
    private String id;

    private String name;

    private String paramConfigId;

    private String rtnConfigId;

    private String serviceId;

    private String mDesc;

    private String type;

    private String paramUri;

    private List<JSONObject> params;

    private List<JSONObject> rtns;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getParamConfigId() {
        return paramConfigId;
    }

    public void setParamConfigId(String paramConfigId) {
        this.paramConfigId = paramConfigId == null ? null : paramConfigId.trim();
    }

    public String getRtnConfigId() {
        return rtnConfigId;
    }

    public void setRtnConfigId(String rtnConfigId) {
        this.rtnConfigId = rtnConfigId == null ? null : rtnConfigId.trim();
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId == null ? null : serviceId.trim();
    }

    public String getmDesc() {
        return mDesc;
    }

    public void setmDesc(String mDesc) {
        this.mDesc = mDesc == null ? null : mDesc.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getParamUri() {
        return paramUri;
    }

    public void setParamUri(String paramUri) {
        this.paramUri = paramUri;
    }

    public List<JSONObject> getParams() {
        return params;
    }

    public void setParams(List<JSONObject> params) {
        this.params = params;
    }

    public List<JSONObject> getRtns() {
        return rtns;
    }

    public void setRtns(List<JSONObject> rtns) {
        this.rtns = rtns;
    }
}